<template>
  <div
    class="main_auxiliaryLine"
    v-if="oItem"
    :style="{
      paddingTop: oItem.main.contentPaddingTB + 'px',
      paddingBottom: oItem.main.contentPaddingTB + 'px',
    }"
  >
    <div
      class="contentAuxiliaryLine"
      :style="{
        borderTopColor: oItem.main.lineColor,
        borderTopStyle: oItem.main.lineStyle,
        borderTopWidth: oItem.main.lineHeight + 'px',
      }"
    ></div>
  </div>
</template>
<script>
import { mapState } from "vuex";
export default {
  name: "auxiliaryLine",
  data() {
    return {
      oItem: null,
      rightIndex: 0,
      catalogIndex: 0,
    };
  },
  created() {},
  props: ["item", "ename", "id"],
  components: {},
  mounted() {
    this.$nextTick(() => {
      this.init();
    });
   
  },
  methods: {
    //页面初始化
    init() {
      this.oItem = null;
      this.oItem = JSON.parse(JSON.stringify(this.item));
    },
  },
  computed: mapState(["decorate"]),
  watch: {},
};
</script>
